package Event.Operation;

import pyrachnid.model.ground_model.Cell;
import pyrachnid.model.robot_model.Robot;

public class ReachFireRobot extends OperationRobot {
	private int _cellInFireX;
	private int _cellInFireY;
	private int _intensity;

	public ReachFireRobot(Robot p_robot, Cell p_cellInFire) {
		super(p_robot);
		_cellInFireX = p_cellInFire.getPositionX();
		_cellInFireY = p_cellInFire.getPositionY();
		if(p_cellInFire.getIsInFire())
			_intensity = p_cellInFire.getFire().getFireIntensity();
	}

	public int getCellInFireX() {
		return _cellInFireX;
	}
	
	public int getCellInFireY() {
		return _cellInFireY;
	}
	
	public int getIntensity() {
		return _intensity;
	}

}
